//package com.hutao.medical.controller;
//
//import org.apache.shiro.authz.annotation.RequiresPermissions;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import com.hutao.medical.pojo.Demo;
//import com.hutao.medical.service.DemoService;
//
//@RestController
//public class DemoController {
//
//	@Autowired
//	private DemoService demoService;
//	
//	@RequiresPermissions("3")
//	@RequestMapping("/getAllDemo")
//	public Demo hello(){
//		System.out.println(demoService.getById(1));
//		return demoService.getById(1);
//	}
//
//}
